package com.jmb.api.web.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jmb.api.entity.InterfaceCaseRelyData;
import com.jmb.api.vo.Interface.Case.Rely.InterfaceCaseRelyDataVO;
import com.jmb.api.web.service.InterfaceCaseRelyDataService;
import com.jmb.api.web.mapper.InterfaceCaseRelyDataMapper;
import com.jmb.api.web.service.InterfaceCaseRelyDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
* @author 金梦博
* @description 针对表【t_interface_case_rely_data】的数据库操作Service实现
* @createDate 2025-09-25 17:19:14
*/
@Service
public class InterfaceCaseRelyDataServiceImpl extends ServiceImpl<InterfaceCaseRelyDataMapper, InterfaceCaseRelyData>
    implements InterfaceCaseRelyDataService {
    @Autowired
    private InterfaceCaseRelyDataMapper interfaceCaseRelyDataMapper;

    /**
     * 通过依赖名称查询依赖数据
     * @param relyName 依赖名称
     * @return InterfaceCaseRelyDataVO
     */
    @Override
    public InterfaceCaseRelyDataVO findIfRelyDataByName(String relyName) {
        return interfaceCaseRelyDataMapper.selectIfRelyDataByName(relyName);
    }
}




